package com.example.ex01;

import android.view.View;
import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;

public class EX01Activity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_ex01);
        TextView viewById = (TextView)findViewById(R.id.userName);
        viewById.setText("账号：");
        TextView ps = (TextView)findViewById(R.id.password);
        ps.setText("密码：");
    }
}